package com.snake.win.utils;

import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class GameUtils {

    //蛇头
    public static Texture upImg = new Texture("img/up.png");
    public static Texture downImg = new Texture("img/down.png");
    public static Texture leftImg = new Texture("img/left.png");
    public static Texture rightImg = new Texture("img/right.png");
    //蛇身
    public static Texture bodyImg = new Texture("img/body.png");
    //食物
    public static Texture foodImg = new Texture("img/right.png");
    //关卡
    public static int level = 1;

    // 新增字体
    /*public static BitmapFont font;

    public static void initFont() {
        try {
            font = new BitmapFont();
            font.setColor(Color.WHITE);
            font.getData().setScale(1f);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }*/

    // 绘制文字
    /*public static void drawWord(SpriteBatch g, String str, float x, float y) {
        font.draw(g, str, x, y);
    }*/
}
